package com.example.framework;

import lombok.Data;

import java.util.Map;

@Data
public class GQModelAndView {

    // 页面模板名称
    private String view;

    // 要往页面上带过去地值
    private Map<String, Object> model;


    /**
     * @param view  页面模板名称
     * @param model 要往页面上带过去地值
     */
    public GQModelAndView(String view, Map<String, Object> model) {
        this.view = view;
        this.model = model;
    }
}
